package com.baixiong.springmvc.controller;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class InterceptorController {

    @RequestMapping("/OK")
    public String toIndex(){

        System.out.println("IndexController#toIndex()-->处理器方法执行了");
        return "OK";
    }

    @RequestMapping("/Tip")
    public String toTip(){

        System.out.println("IndexController#toIndex()-->处理器方法执行了");
        return "tip";
    }



}
